/*
 * ProtocolData.h
 *
 *  Created on: Sep 7, 2017
 *      Author: guoxs
 */

#ifndef _UART_PROTOCOL_DATA_H_
#define _UART_PROTOCOL_DATA_H_

#include <string>
#include "CommDef.h"

/******************** CmdID ***********************/
#define CMDID_POWER							0x02
/**************************************************/

/******************** 错误码 Error code ***********************/
#define ERROR_CODE_CMDID			1
/**************************************************/

typedef struct {
	BYTE power;
	BYTE mode;
	BYTE speed;
	BYTE radar;
	BYTE touch;
	BYTE PM25;
	BYTE PM10;
	BYTE NO2;
	UINT16 filter;
} SProtocolData;

#endif /* _UART_PROTOCOL_DATA_H_ */
